<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SISA - Comisiones mixtas de capacitacion</title>
    <!-- Core CSS - Include with every page -->
    <link href="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/plugins/bootstrap/bootstrap.css" rel="stylesheet" />
    <link href="<?php echo Yii::app()->request->baseUrl; ?>/css/font-awesome.css" rel="stylesheet" />
    <link href="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/plugins/pace/pace-theme-big-counter.css" rel="stylesheet" />
    <link href="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/css/style.css" rel="stylesheet" />
    <link href="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/css/main-style.css" rel="stylesheet" />
    <!-- Page-Level CSS -->
    <link href="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/plugins/morris/morris-0.4.3.min.css" rel="stylesheet" />
   </head>
<body>
    <!--  wrapper -->
    <div id="wrapper">
        <!-- navbar top -->
        <nav class="navbar navbar-default navbar-fixed-top" role="navigation" id="navbar">
            <!-- navbar-header -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="<?php echo Yii::app()->createUrl('adminAplication', array()); ?>">
                    <img src="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/img/logo.png" alt="" />
                    
                </a>
            </div>
            <!-- end navbar-header -->
            <!-- navbar-top-links -->
            <ul class="nav navbar-top-links navbar-right">
                <!-- main dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <span class="top-label label label-danger">3</span><i class="fa fa-envelope fa-3x"></i>
                    </a>
                    <!-- dropdown-messages -->
                    <ul class="dropdown-menu dropdown-messages">
                        <li>
                            <a href="#">
                                <div>
                                    <strong><span class=" label label-danger">Juan Gabriel</span></strong>
                                    <span class="pull-right text-muted">
                                        <em>Hoy</em>
                                    </span>
                                </div>
                                <div>Mensajes en la bandeja de entrada</div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <strong><span class=" label label-info">Ana Laura</span></strong>
                                    <span class="pull-right text-muted">
                                        <em>Ayer</em>
                                    </span>
                                </div>
                                <div>Notificaciones por leer</div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <strong><span class=" label label-success">carlos paredes</span></strong>
                                    <span class="pull-right text-muted">
                                        <em>hace 3 dias</em>
                                    </span>
                                </div>
                                <div></div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>Leer mas...</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                    <!-- end dropdown-messages -->
                </li>

                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <span class="top-label label label-success">4</span>  <i class="fa fa-tasks fa-3x"></i>
                    </a>
                    <!-- dropdown tasks -->
                    <ul class="dropdown-menu dropdown-tasks">
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Tarea 1</strong>
                                        <span class="pull-right text-muted">40% Completo</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
                                            <span class="sr-only">40% Completo(success)</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Tarea 2</strong>
                                        <span class="pull-right text-muted">20% Completo</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
                                            <span class="sr-only">20% Completo</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Tarea 3</strong>
                                        <span class="pull-right text-muted">60% Completo</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
                                            <span class="sr-only">60% Completo (warning)</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Tarea 5</strong>
                                        <span class="pull-right text-muted">80% Completo</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
                                            <span class="sr-only">80% Completo (danger)</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>Ver mas ...</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                    <!-- end dropdown-tasks -->
                </li>

                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <span class="top-label label label-warning">5</span>  <i class="fa fa-bell fa-3x"></i>
                    </a>
                    <!-- dropdown alerts-->
                    <ul class="dropdown-menu dropdown-alerts">
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-comment fa-fw"></i>Nuevos Comentarios
                                    <span class="pull-right text-muted small">4 min</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-twitter fa-fw"></i>3 Nuevos Seguidores
                                    <span class="pull-right text-muted small">12 min</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-envelope fa-fw"></i>Mensage enviado
                                    <span class="pull-right text-muted small">4 min</span>
                                </div>
                            </a>
                        </li>
                       
                       
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>Ver mas...</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                    <!-- end dropdown-alerts -->
                </li>

                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-3x"></i>
                    </a>
                    <!-- dropdown user-->
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="#"><i class="fa fa-user fa-fw"></i>User Profile</a>
                        </li>
                        <li><a href="#"><i class="fa fa-gear fa-fw"></i>Settings</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="login.html"><i class="fa fa-sign-out fa-fw"></i>Logout</a>
                        </li>
                    </ul>
                    <!-- end dropdown-user -->
                </li>
                <!-- end main dropdown -->
            </ul>
            <!-- end navbar-top-links -->

        </nav>
        <!-- end navbar top -->

        <!-- navbar side -->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <!-- sidebar-collapse -->
            <div class="sidebar-collapse">
                <!-- side-menu -->
                <ul class="nav" id="side-menu">
                    <li>
                        <!-- user image section-->
                        <div class="user-section">
                            <div class="user-section-inner">
                                <img src="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/img/user.jpg" alt="">
                            </div>
                            <div class="user-info">
                                <div><strong><?php echo  Yii::app()->user->name; ?> </strong></div>
                                <div class="user-text-online">
                                    <span class="user-circle-online btn btn-success btn-circle "></span>&nbsp;Online
                                </div>
                            </div>
                        </div>
                        <!--end user image section-->
                    </li>
                    <li class="sidebar-search">
                        <!-- search section-->
                        <div class="input-group custom-search-form">
                            <input type="text" class="form-control" placeholder="Buscar...">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button">
                                    <i class="fa fa-search"></i>
                                </button>
                            </span>
                        </div>
                        <!--end search section-->
                    </li>
                    <li class="selected">
                        <a href="<?php echo Yii::app()->createUrl('adminAplication', array()); ?>"><i class="fa fa-dashboard fa-2x"></i> Inicio</a>
                    </li>
                    
                    <?php 

                    	$empresas = array();
                    
                      $empresas = EmpresaUsuario::model()->findAllByAttributes(array('ID_USUARIO'=>Yii::app()->user->id, 'ACTIVO'=>'1'));
                            
                      foreach ($empresas as $empresa){
                            
                      ?>
                    
                    <li>
                        <a href="#"><i class="fa fa-university fa-2x"></i> ID<?php echo $empresa->eMPRESA->ID_EMPRESA;?> <strong> <?php echo $empresa->eMPRESA->NOMBRE_RAZON_SOCIAL;?></strong> <span class="fa arrow"></span></a>
                        
                        <ul class="nav nav-second-level">
                            
                             <li>
                                <a href="<?php echo Yii::app()->createUrl('empresa/updateByUser', array('id'=>$empresa->ID_EMPRESA)); ?>">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-pencil-square-o" ></i> Editar información</a>
                            </li>
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-users"></i> Comisiones mixtas<span class="fa arrow"></span></a>
                                
                         
                                <ul class="nav nav-third-level">
                                    
                                    <li>
                                       <a href="<?php echo Yii::app()->createUrl('comisionMixta/index', array('id_empresa'=>$empresa->ID_EMPRESA)); ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-bars"></i> Indice</a>
                                    </li>
                                     
                                    <?php 
                                    	
                                    	$comisiones = array();
                                    	$comisiones = ComisionMixta::model()->findAllByAttributes(array('ID_EMPRESA'=>$empresa->ID_EMPRESA, 'ACTIVO'=>'1'));
                                    
                                    foreach ($comisiones as $comision){ ?>
                                    		
                                    		<li>
                                        		<a href="<?php echo Yii::app()->createUrl('comisionMixta/manage', array('id_comision'=>$comision->ID_COMISION_MIXTA)); ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-file-text-o"></i> <?php echo '# '. $comision->ID_COMISION_MIXTA.' ( '.$comision->FECHA_CONSTITUCION. ' )'; ?></a>
                                    		</li>  
                                    
                                    <?php }?>  
                                    
                                     <li>
                                        <a href="<?php echo Yii::app()->createUrl('comisionMixta/create', array('id_empresa'=>$empresa->ID_EMPRESA)); ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-users"></i> + Nueva comision</a>
                                    </li>
                                    <li>
                                        <a href="<?php echo Yii::app()->createUrl('comisionMixta/admin', array('id_empresa'=>$empresa->ID_EMPRESA)); ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-cog"></i> Administrar</a>
                                    </li>  
                                                                  
                                   
                                </ul>
                                <!-- third-level-items -->
                            </li>
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-suitcase"></i> Representante Legal <span class="fa arrow"></span></a>
                                <ul class="nav nav-third-level">
                                    
                                    <li>
                                        <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-eye"></i> Ver</a>
                                    </li>
                                    <li>
                                        <a href="<?php echo Yii::app()->createUrl('representanteLegal/updateByUser', array('id'=>$empresa->eMPRESA->ID_REPRESENTANTE_LEGAL)); ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-pencil-square-o"></i> Editar</a>
                                    </li>
                                                                        
                                   
                                </ul>
                            </li>
                        </ul>
                        <!-- second-level-items -->
                    </li>
                    
                     <?php }?>
                     
                     
                     <li>
                        <a href="#"><i class="fa fa-building fa-2x"></i> <strong>ESTABLECIMIENTOS</strong><span class=""></span></a>
                        <ul class="nav nav-second-level">
                            <li>
                                <a href="<?php echo Yii::app()->createUrl('establecimiento/index', array()); ?>">
                                &nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-list-ol" ></i> Indice
                                </a>
                            </li>
                            <li>
                                <a href="<?php echo Yii::app()->createUrl('establecimiento/create', array()); ?>">
                                &nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-plus" ></i> Crear nuevo
                                </a>
                            </li>
                            <li>
                                <a href="<?php echo Yii::app()->createUrl('establecimiento/admin', array()); ?>">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-cogs"></i> Administrar</a>
                            </li>
                            
                        </ul>
                        <!-- second-level-items -->
                    </li>
                       <li>
                        <a href="#"><i class="fa fa-newspaper-o fa-2x"></i><strong> PLANES</strong></a>
                        <ul class="nav nav-second-level">
                            <li>
                                <a href="#"> &nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-list-ol"></i> Indice</a>
                            </li>
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-plus"></i> Crear nuevo</a>
                            </li>
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-cog"></i> Administrar</a>
                            </li>
                            
                        </ul>
                        <!-- second-level-items -->
                    </li>
                     
                        <li>
                         <a href="#"><i class="fa fa-book fa-2x"></i><strong> INSTRUCTORES</strong></a>
                        <ul class="nav nav-second-level">
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-list-ol"></i> Indice</a>
                            </li>
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-plus"></i> Crear nuevo</a>
                            </li>
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-cog"></i> Administrar</a>
                            </li>
                            
                        </ul>
                        <!-- second-level-items -->
                    </li>
                    
                       <li>
                        <a href="#"><i class="fa fa-table fa-2x"></i><strong> CURSOS</strong></a>
                        <ul class="nav nav-second-level">
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-list-ol"></i> Indice</a>
                            </li>
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-plus"></i> Crear nuevo</a>
                            </li>
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-cog"></i> Administrar</a>
                            </li>
                            
                        </ul>
                        <!-- second-level-items -->
                    </li>
                    
                       <li>
                        <a href="#"><i class="fa fa-male fa-2x"></i><strong> TRABAJADORES</strong></a>
                        <ul class="nav nav-second-level">
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-list-ol"></i> Indice</a>
                            </li>
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-plus"></i> Crear nuevo</a>
                            </li>
                            <li>
                                <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-cog"></i> Administrar</a>
                            </li>
                            
                        </ul>
                        <!-- second-level-items -->
                    </li>
                          
                <!-- end side-menu -->
            </div>
            <!-- end sidebar-collapse -->
        </nav>
        <!-- end navbar side -->
        <!--  page-wrapper -->
        <div id="page-wrapper">
		
		  <br />
          
            <div class="row">
                	 <div class="col-md-12 col-sm-12 col-xs-12">
                	     <?php if(isset($this->breadcrumbs)):?>
							<?php $this->widget('zii.widgets.CBreadcrumbs', array(
								'links'=>$this->breadcrumbs,
									'htmlOptions'=>array('class'=>'breadcrumb'),
							)); ?><!-- breadcrumbs -->
						<?php endif?>
                	 </div>
                </div>
            
       
            
            
            
            	 <?php echo $content; ?>            	
            
        
            
           
          

            <div class="row">
                <div class="col-lg-8">



                    <!--Area chart example -->
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <i class="fa fa-bar-chart-o fa-fw"></i>Capacitaciones realizadas
                            <div class="pull-right">
                                <div class="btn-group">
                                    <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                                        Accion
                                        <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu pull-right" role="menu">
                                        <li><a href="#">Actions</a>
                                        </li>
                                        <li><a href="#">Another action</a>
                                        </li>
                                        <li><a href="#">Something else here</a>
                                        </li>
                                        <li class="divider"></li>
                                        <li><a href="#">Separated link</a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>

                        <div class="panel-body">
                            <div id="morris-area-chart"></div>
                        </div>

                    </div>
                    <!--End area chart example -->
                    <!--Simple table example -->
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <i class="fa fa-bar-chart-o fa-fw"></i>Precios de cursos
                            <div class="pull-right">
                                <div class="btn-group">
                                    <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                                        Accion
                                        <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu pull-right" role="menu">
                                        <li><a href="#">Action</a>
                                        </li>
                                        <li><a href="#">Another action</a>
                                        </li>
                                        <li><a href="#">Something else here</a>
                                        </li>
                                        <li class="divider"></li>
                                        <li><a href="#">Separated link</a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>

                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="table-responsive">
                                        <table class="table table-bordered table-hover table-striped">
                                            <thead>
                                                <tr>
                                                    <th>#</th>
                                                    <th>Fecha</th>
                                                    <th>Hora</th>
                                                    <th>Costo</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>001</td>
                                                    <td>04/21/2015</td>
                                                    <td>3:29 PM</td>
                                                    <td>$321.33</td>
                                                </tr>
                                                <tr>
                                                    <td>002</td>
                                                    <td>0//2015</td>
                                                    <td>3:20 PM</td>
                                                    <td>$234.34</td>
                                                </tr>
                                                <tr>
                                                    <td>003</td>
                                                    <td>6/2/201</td>
                                                    <td>3:03 PM</td>
                                                    <td>$724.17</td>
                                                </tr>
                                                <tr>
                                                    <td>004</td>
                                                    <td>6/23/2015</td>
                                                    <td>3:00 PM</td>
                                                    <td>$23.71</td>
                                                </tr>
                                                <tr>
                                                    <td>005</td>
                                                    <td>7/21/201</td>
                                                    <td>2:49 PM</td>
                                                    <td>$8345.23</td>
                                                </tr>


                                            </tbody>
                                        </table>
                                    </div>

                                </div>

                            </div>
                            <!-- /.row -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!--End simple table example -->

                </div>

                <div class="col-lg-4">
                    <div class="panel panel-primary text-center no-boder">
                        <div class="panel-body yellow">
                            <i class="fa fa-bar-chart-o fa-3x"></i>
                            <h3>576 </h3>
                        </div>
                        <div class="panel-footer">
                            <span class="panel-eyecandy-title">Usuarios que nos visitan al dia
                            </span>
                        </div>
                    </div>
                    <div class="panel panel-primary text-center no-boder">
                        <div class="panel-body blue">
                            <i class="fa fa-pencil-square-o fa-3x"></i>
                            <h3>49 </h3>
                        </div>
                        <div class="panel-footer">
                            <span class="panel-eyecandy-title">Ordenes pendientes
                            </span>
                        </div>
                    </div>
                    <div class="panel panel-primary text-center no-boder">
                        <div class="panel-body green">
                            <i class="fa fa fa-floppy-o fa-3x"></i>
                            <h3>20 GB</h3>
                        </div>
                        <div class="panel-footer">
                            <span class="panel-eyecandy-title">Nuevos datos por guardar
                            </span>
                        </div>
                    </div>
                    <div class="panel panel-primary text-center no-boder">
                        <div class="panel-body red">
                            <i class="fa fa-thumbs-up fa-3x"></i>
                            <h3>159 </h3>
                        </div>
                        <div class="panel-footer">
                            <span class="panel-eyecandy-title">Nuevos usuarios registrados
                            </span>
                        </div>
                    </div>







                </div>

            </div>

            <div class="row">
                <div class="col-lg-4">
                    <!-- Notifications-->
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <i class="fa fa-bell fa-fw"></i>Notificaciones.
                        </div>

                        <div class="panel-body">
                            <div class="list-group">
                                <a href="#" class="list-group-item">
                                    <i class="fa fa-comment fa-fw"></i>Nuevo comentario.
                                    <span class="pull-right text-muted small"><em>hace 4 minutos </em>
                                    </span>
                                </a>
                                <a href="#" class="list-group-item">
                                    <i class="fa fa-twitter fa-fw"></i>3 Nevos segidores.
                                    <span class="pull-right text-muted small"><em>hace 12 minutos</em>
                                    </span>
                                </a>
                                <a href="#" class="list-group-item">
                                    <i class="fa fa-envelope fa-fw"></i>Mensaje enviado.
                                    <span class="pull-right text-muted small"><em>hace 27 minutos</em>
                                    </span>
                                </a>
                                <a href="#" class="list-group-item">
                                    <i class="fa fa-tasks fa-fw"></i>Nuevas tareas.
                                    <span class="pull-right text-muted small"><em>hace 43 minutos </em>
                                    </span>
                                </a>
                                <a href="#" class="list-group-item">
                                    <i class="fa fa-upload fa-fw"></i>Reinicio del servidor. 
                                    <span class="pull-right text-muted small"><em>11:32 AM</em>
                                    </span>
                                </a>
                                <a href="#" class="list-group-item">
                                    <i class="fa fa-bolt fa-fw"></i>Checar el servidor!
                                    <span class="pull-right text-muted small"><em>11:13 AM</em>
                                    </span>
                                </a>
                                <a href="#" class="list-group-item">
                                    <i class="fa fa-warning fa-fw"></i>El servidor no responde.
                                    <span class="pull-right text-muted small"><em>10:57 AM</em>
                                    </span>
                                </a>
                                <a href="#" class="list-group-item">
                                    <i class="fa fa-shopping-cart fa-fw"></i>Nuevo pedido realizado.
                                    <span class="pull-right text-muted small"><em>9:49 AM</em>
                                    </span>
                                </a>

                            </div>
                            <!-- /.list-group -->
                            <a href="#" class="btn btn-default btn-block">Ver todas las alertas</a>
                        </div>

                    </div>
                    <!--End Notifications-->
                </div>
                <div class="col-lg-4">
                    <!-- Donut Example-->
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <i class="fa fa-bar-chart-o fa-fw"></i>Constancias emitidas
                        </div>
                        <div class="panel-body">
                            <div id="morris-donut-chart"></div>
                            <a href="#" class="btn btn-default btn-block">Ver detalles</a>
                        </div>

                    </div>
                    <!--End Donut Example-->
                </div>
                <div class="col-lg-4">
                    <!-- Chat Panel Example-->
                    <div class="chat-panel panel panel-primary">
                        <div class="panel-heading">
                            <i class="fa fa-comments fa-fw"></i>
                            Chat
                            <div class="btn-group pull-right">
                                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                                    <i class="fa fa-chevron-down"></i>
                                </button>
                                <ul class="dropdown-menu slidedown">
                                    <li>
                                        <a href="#">
                                            <i class="fa fa-refresh fa-fw"></i>Refrescar
                                        </a>
                                    </li>
                                    <li>
                                        <a href="#">
                                            <i class="fa fa-check-circle fa-fw"></i>Disponible
                                        </a>
                                    </li>
                                    <li>
                                        <a href="#">
                                            <i class="fa fa-times fa-fw"></i>Ocupado
                                        </a>
                                    </li>
                                    <li>
                                        <a href="#">
                                            <i class="fa fa-clock-o fa-fw"></i>Lejos
                                        </a>
                                    </li>
                                    <li class="divider"></li>
                                    <li>
                                        <a href="#">
                                            <i class="fa fa-sign-out fa-fw"></i>Desconectar
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>

                        <div class="panel-body">
                            <ul class="chat">
                                <li class="left clearfix">
                                    <span class="chat-img pull-left">
                                        <img src="http://placehold.it/50/55C1E7/fff" alt="User Avatar" class="img-circle" />
                                    </span>
                                    <div class="chat-body clearfix">
                                        <div class="header">
                                            <strong class="primary-font">Jack Sparrow</strong>
                                            <small class="pull-right text-muted">
                                                <i class="fa fa-clock-o fa-fw"></i>hace 12 minutos
                                            </small>
                                        </div>
                                        <p>
                                            Buenos dias grupo SISA, quiero pedir una cita pra el 15 de febrero del 2015.
                                        </p>
                                    </div>
                                </li>
                                <li class="right clearfix">
                                    <span class="chat-img pull-right">
                                        <img src="http://placehold.it/50/FA6F57/fff" alt="User Avatar" class="img-circle" />
                                    </span>
                                    <div class="chat-body clearfix">
                                        <div class="header">
                                            <small class=" text-muted">
                                                <i class="fa fa-clock-o fa-fw"></i>hace 13 minutos</small>
                                            <strong class="pull-right primary-font">Grupo SISA</strong>
                                        </div>
                                        <p>
                                           Si tenemos disponible ese dia sr Sparrow, ¿esta bien a las 11:00 am?.
                                        </p>
                                    </div>
                                </li>
                                <li class="left clearfix">
                                    <span class="chat-img pull-left">
                                        <img src="http://placehold.it/50/55C1E7/fff" alt="User Avatar" class="img-circle" />
                                    </span>
                                    <div class="chat-body clearfix">
                                        <div class="header">
                                            <strong class="primary-font">Jack Sparrow</strong>
                                            <small class="pull-right text-muted">
                                                <i class="fa fa-clock-o fa-fw"></i>hace 1 minuto</small>
                                        </div>
                                        <p>
                                            Si a esa hora esta bien, gracias.
                                        </p>
                                    </div>
                                </li>
                                <li class="right clearfix">
                                    <span class="chat-img pull-right">
                                        <img src="http://placehold.it/50/FA6F57/fff" alt="User Avatar" class="img-circle" />
                                    </span>
                                    <div class="chat-body clearfix">
                                        <div class="header">
                                            <small class=" text-muted">
                                                <i class="fa fa-clock-o fa-fw"></i>hace 1 minuto</small>
                                            <strong class="pull-right primary-font">Grupo SISA</strong>
                                        </div>
                                        <p>
                                            ok lo esperamos, gracias por su preferencia.
                                        </p>
                                    </div>
                                </li>
                            </ul>
                        </div>

                        <div class="panel-footer">
                            <div class="input-group">
                                <input id="btn-input" type="text" class="form-control input-sm" placeholder="Type your message here..." />
                                <span class="input-group-btn">
                                    <button class="btn btn-warning btn-sm" id="btn-chat">
                                        Send
                                    </button>
                                </span>
                            </div>
                        </div>

                    </div>
                    <!--End Chat Panel Example-->
                </div>
            </div>


         


        </div>
        <!-- end page-wrapper -->

    </div>
    <!-- end wrapper -->

    <!-- Core Scripts - Include with every page -->
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/plugins/jquery-1.10.2.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/plugins/bootstrap/bootstrap.min.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/plugins/pace/pace.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/scripts/siminta.js"></script>
    <!-- Page-Level Plugin Scripts-->
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/plugins/morris/raphael-2.1.0.min.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/plugins/morris/morris.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/bssiminta/scripts/dashboard-demo.js"></script>

</body>

</html>
